from enum import Enum

class Event(Enum):
    """定义各种事件"""
    START = 1          # 启动事件
    WATER_DETECTED = 2 # 检测到水
    NO_WATER = 3       # 无水
    TEMP_ABOVE_100 = 4 # 温度 >= 100°
    BURNED_OUT = 5     # 烧坏
    TIME_23 = 6        # 时间 == 23:00
    TIME_7 = 7         # 时间 == 7:00
    MAINTENANCE = 8    # 进入维修
    REPAIRED = 9       # 维修完成

